.et-card-wrapper {
  perspective: 1000px;

  &, .et-card-front, .et-card-back {
    width: 100%;
    height: 11rem;
    margin-bottom: 2rem;
  }

  .et-card-flipper {
    transition: 0.3s;
    transform-style: preserve-3d;
    position: relative;

    &.et-flip {
      transform: rotateY(180deg);
    }
  }

  .et-card-front, .et-card-back {
    @include et-backface-visibility;
    position: absolute;
    top: 0;
    left: 0;
  }

  .et-card-front {
    z-index: 2;
    transform: rotateY(0deg);
  }

  .et-card-back {
    transform: rotateY(180deg);
  }
}

.et-card {
  margin: 0 1rem 2rem;
  position: relative;
  box-shadow: 0 0 10px rgba(119, 119, 119, .5);
  height: $et-card-height;
  border-radius: 4px;
  border: 0;

  .et-card-title {
    padding: 0 1rem 0.75rem;
    font-size: $et-card-title-font-size;
    @include et-hide-char;
  }

  .et-card-btn-wrapper {
    .button {
      padding: 0.5rem;
      width: 80%;
      margin-bottom: 1rem;
      color: #555;

      &:hover {
        background-color: $primary-color !important;
      }
    }
  }

  .button {
    @include et-color-setting($et-dark-gray, $et-card-btn-bg);
    margin-bottom: 0;
    border-radius: 2rem;

    &:hover {
      @include et-color-setting($white, $primary-color);
    }

    i {
      font-size: 1.5rem;
    }
  }

  .top-bar {
    background-color: $white;
    height: 2.5rem;
    margin: 0 0 1rem;
    padding: 0;

    .button-group {
      float: right;
      margin-bottom: 0;

      .button {
        padding: 0;
        background-color: inherit;
        transition: all 0.2s;
        position: relative;

        i {
          position: absolute;
          top: 0.55rem;
          left: 0.565rem;
        }

        .btn-bg {
          display: block;
          background-color: inherit;
          height: 2.125rem;
          width: 2.125rem;
          line-height: 2.125rem;
          border-radius: 50%;
          transform: scale(0) translate3d(0, 0, 0);
          transition: all 0.2s ease;
        }

        &:hover {
          .btn-bg {
            transform: scale(1) translate3d(0, 0, 0);
          }

          i {
            color: $white;
          }
        }
      }
    }

    .button {
      i {
        font-size: 1rem;
      }
    }

    .back-btn {
      padding: 0.75em 1em;
      border-radius: 0;
      background-color: inherit;

      i {
        color: rgba($white, 0.625);
        transition: all 0.2s;
      }

      &:hover {
        i {
          color: rgba($white, 1);
        }
      }
    }

    .card-title {
      color: $white;
      @include et-hide-char;
    }
  }

  .et-corner-mark {
    display: inline-block;
    position: absolute;
    height: 5rem;
    width: 5rem;
    background-color: inherit;
    border-radius: 50%;
    top: -1.75rem;
    left: -1.75rem;

    span {
      color: $white;
      position: absolute;
      padding: 2rem 0 0 2.625rem;
      font-size: 1.5rem;
    }

    i {
      color: white;
      position: absolute;
      padding: 2rem 0 0 2.5rem;
      font-size: 1.5rem;
    }
  }

  &.et-card-add {
    box-shadow: none;
    background-color: $et-medium-gray;
    text-align: center;

    i {
      line-height: 11rem;
      font-size: 8rem;
      color: $white;
    }

    &:hover {
      background-color: $et-dark-gray;
    }
  }

}
